package com.net.xpay.common.service;

import com.net.xpay.common.domain.DailyTaskRecord;
import com.net.xpay.common.domain.stat.CompanyDailyStat;

import java.time.LocalDate;
import java.time.LocalDateTime;

public interface CompanyDailyStatService {
    /**
     * 日统计(全部)
     */
    void statCompanyDailyStat(LocalDate day, DailyTaskRecord record);

    /**
     * 根据时间区间统计 不入库
     */
    CompanyDailyStat statCompanyDailyStatByTime(LocalDateTime minEndTime, LocalDateTime maxEndTime);
}
